package cn.edu.zut.internship.mapper.sys;

import cn.edu.zut.internship.entity.AuthSysPermission;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AuthSysPermissionMapper {
    int insert(AuthSysPermission record);
    void deleteByRscId(Long rscId);
    List<AuthSysPermission> selectAllSimplePermissions();
    List<AuthSysPermission> selectByUserName(String userName);
}
